//
//  ZBBHeadView.m
//  沙哈拉FM
//
//  Created by dllo on 15/11/6.
//  Copyright © 2015年 S1mpl3. All rights reserved.
//

#import "ZBBHeadView.h"
#import "S1mpl3AlbumViewController.h"
@implementation ZBBHeadView
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        
        _scrollview = [[ZBScorllView alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
        
        [self addSubview:_scrollview];
        
        _scrollview.delegate = self;
        
       
    }
    
    return self;
}
-(void)takeUrlString:(NSString *)urlString
{
    
    S1mpl3AlbumViewController *vc = [[S1mpl3AlbumViewController alloc]init];
    vc.albumId = urlString;
    [_nav pushViewController:vc animated:YES];
}
@end
